﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.ContactsDomain
{
  public  class Territory
    {
        #region Properties
        public Guid ID { get; set; }
        public string Code { get; set; }
        public string TerritoryName { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public int CountryID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual ICollection<City> Cities { get; set; }
        [ForeignKey("CountryID")]
        public virtual Country Country { get; set; } 
        #endregion
    }
}
